// const baseUrl = "https://server.douxcm.com/dx"//正式
// const baseUrl = "https://server.douxin.club/dx"//测试
const baseUrl = "http://localhost:8080"//测试
// const baseUrl = "https://mock.apifox.cn/m1/2986645-0-default"
const baseImageUrl = "https://img.douxin.club/mini"
   
const privacyPolicy = "https://vue.douxcm.com/dx/article/detail?id=11&hideBack=true"
const registerPolicy = "https://vue.douxcm.com/dx/article/detail?id=10&hideBack=true"
//?apifoxToken=9KOkJUSm3Qx7GkUIaSvsR0gYyNxRachB
const miniLogin = "/api/app/mini/wx/mini"//微信小程序登录
const phoneLogin = "/api/app/mini/phone"//手机号验证码登录
const codeLogin = "/api/app/mini/code"//账号密码登录
const getCode = "/api/app/mini/captcha"//获取验证码
const logout = "/api/app/mini/user/logout"//登出账号

const getHomeBanner = "/api/app/mini/index/ad-material"//首页广告轮播
const getOrderList = "/api/app/mini/index/order/list"//首页订单数据
const getOrderState = "/api/app/mini/index/order/stat"//首页订单统计数据
const getMonthstat = "/api/app/mini/index/kol/order/monthstat"//达人榜单-月榜
const getDailystat = "/api/app/mini/index/kol/order/dailystat"//达人榜单-日榜
const getOrderDetailStat = "/api/app/mini/order/order-detail-stat"//首页订单详情统计数据
const getOrderDetail = "/api/app/mini/order/order-detail"//首页订单详情数据

const addSelectionStore = "/api/app/mini/selection/store-add"//选品添加橱窗
const getClassification = "/api/app/mini/selection/classification"//选品分类
const getSelectionList = "/api/app/mini/selection/list"//选品列表
const getSelectionDetail = "/api/app/mini/selection/detail"//选品详情
const getSelectionVideo = "/api/app/mini/selection/video"//热门同款视频
const getSelectionPmt = "/api/app/mini/selection/pmt"//推广监控数据
const getPmtType = "/api/app/mini/selection/pmt-type"//推广监控数据维度分类

const getCollectList = "/api/app/mini/selection/collect-list"//选品-收藏列表
const addCollect = "/api/app/mini/collect/add"//新增收藏
const cancelCollect = "/api/app/mini/collect/cancel"//取消收藏

const classification = "/api/app/mini/meterial/classification"//素材分类
const getMaterialList = "/api/app/mini/meterial/list"//素材列表
const getMaterialDetail = "/api/app/mini/meterial/detail"//素材详情
const getOriginalClassification = "/api/app/mini/meterial/original/classification"//原创材料分类
const getOriginalList = "/api/app/mini/meterial/original/material-list";

const getUserInfo = "/api/app/mini/account/info"//账户信息
const updateUserInfo = "/api/app/mini/user/update"//更新账户信息
const getDyAccountList = "/api/app/mini/account/douyin-account-list"//关联的抖音号列表
const unbindAccount = "/api/app/mini/account/unbind"//解绑抖音号
const getOauthConnect = "/api/app/mini/account/oauth/connect"//抖音授权流程-发起授权
const getOauthQuery = "/api/app/mini/account/oauth/query"//抖音授权流程-授权结果查询
const getQiniuToken = "/api/app/mini/qiniu/token"//获取qiniu的token
const parseDyVideo = "/api/app/dy/util/video"//抖音视频解析
const parseDyText = "/api/app/dy/util/text"//抖音违禁词解析
const track = "/api/app/mini/track/"//埋点
const syncOrder = "/api/app/mini/account/sync-orders"//埋点

export default {  
    baseUrl,  
	baseImageUrl,
	syncOrder,
	privacyPolicy,
	registerPolicy,
	miniLogin,
	phoneLogin,
	codeLogin,
	getCode,
	logout,
	getHomeBanner,
	getOrderList,
	getOrderState,
	getMonthstat,
	getDailystat,
	addSelectionStore,
	getClassification,
	getSelectionList,
	getSelectionDetail,
	getSelectionVideo,
	getSelectionPmt,
	getPmtType,
	getCollectList,
	addCollect,
	cancelCollect,
	classification,
	getMaterialList,
	getMaterialDetail,
	getOriginalClassification,
	getOriginalList,
	getUserInfo,
	updateUserInfo,
	getDyAccountList,
	unbindAccount,
	getOauthConnect,
	getOauthQuery,
	getQiniuToken,
	parseDyVideo,
	parseDyText,
	track,
	getOrderDetailStat,
	getOrderDetail
}